/*
 * @Author: dfh
 * @Date: 2023-02-20 14:31:25
 * @LastEditors: dfh
 * @Modified By: dfh
 * @describe:
 */
const {
  miniProgram: { envVersion }
} = uni.getAccountInfoSync();
//设置token
export function setToken(token) {
  uni.setStorageSync(`${envVersion}_token`, token);
}
//获取token
export function getToken() {
  return uni.getStorageSync(`${envVersion}_token`);
}

